package com.zy.dp.bridge.example2;

public abstract class AbstractMessage
{
	protected MessageImplementor impl;

	public AbstractMessage(MessageImplementor impl)
	{

		this.impl = impl;
	}

	public void sendMessage(String message, String toUser)
	{
		this.impl.send(message, toUser);
	}

}
